//
//  GSNewsMainCell.m
//  GameSky
//
//  Created by lanou on 16/1/10.
//  Copyright © 2016年 NiRongfei. All rights reserved.
//

#import "GSNewsMainCell.h"

@implementation GSNewsMainCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.coverImage = [[UIImageView alloc] init];
        [self.contentView addSubview:self.coverImage];
        
        self.titleLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.titleLabel];
        
        self.commentLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.commentLabel];
    }
    return self;
}

- (void)setModel:(GSNewsListModel *)model {
    _model = model;
}

+ (void)cellHeightForModel:(GSNewsListModel *)model {
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
